package tech.senri.iot.socket

import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.junit4.SpringRunner

@RunWith(SpringRunner::class)
class SocketServiceApplicationTests
{

    @Test
    fun contextLoads()
    {

        val array = "3023".toByteArray()
        val result = ((array[0] - 0x30) * 10 + (array[1] - 0x30)) * 60 + (array[2] - 0x30) * 10 + (array[3] - 0x30)
        println("$result")
    }

}
